package com.zuqiuzhandui.liveing.base;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;


import com.zuqiuzhandui.liveing.myInterfacce.BaseUi;

import butterknife.ButterKnife;

/**
 * Created by yq on 2016-09-23.
 */

public abstract  class BaseFragment extends Fragment implements BaseUi {
    protected  View mView;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        mView=getView();
        ButterKnife.bind(mView);
        initView();
        initData();
        initData();
        return mView;
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {

    }

    @Override
    public void setMonter() {

    }

    @Override
    public void setViewId() {

    }

    public abstract  View getVview();
}
